package cn.tedu.mall.front;

import org.apache.dubbo.config.spring.context.annotation.EnableDubbo;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.ComponentScan;

@SpringBootApplication
@MapperScan("cn.tedu.mall.front.mapper")
@ComponentScan(basePackages = {"cn.tedu.mall.front","cn.tedu.mall.common.exception.handler"})
@EnableDubbo
public class FrontApplication {
    public static void main(String[] args) {
        SpringApplication.run(FrontApplication.class,args);
        System.out.println("启动前台商品");
    }
}
